//
//  BBSCollectionViewCell.m
//  FreeTravel
//
//  Created by 徐康 on 16/9/12.
//  Copyright © 2016年 KX. All rights reserved.
//

#import "BBSCollectionViewCell.h"

@implementation BBSCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
   self = [super initWithFrame:frame];
    if (self) {
        self.label = [[UILabel alloc]init];
        [self.contentView addSubview:self.label];
        self.label.textAlignment = NSTextAlignmentCenter;
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    self.label.frame = self.contentView.bounds;
    self.label.layer.cornerRadius = 20;
    self.label.layer.masksToBounds = YES;
}
@end
